package com.xiaokai.domain.task.repository;

import com.xiaokai.domain.task.model.entity.TaskEntity;

import java.util.List;

/**
 * Author:yang
 * Date:2024-09-27 20:12
 * Description:任务仓储接口
 */
public interface ITaskRepository {

    List<TaskEntity> queryNoSendMessageTaskList();

    void sendMessage(TaskEntity taskEntity);

    void updateTaskSendMessageCompleted(String userId, String messageId);

    void updateTaskSendMessageFail(String userId, String messageId);

}
